What is it?

  • The way of refining our search Queries.
  • A dork query, sometimes just referred to as a dork, is a search string that uses advanced search operators to find information that is not readily available on a website.
  • Google dorking, can return information that is difficult to locate through simple search queries.
  • Is it even Legal? Yes, we are getting open and readily available information.

Where i got this?

figures/Amazing_spiderman.gif

Basic Dorks

Query Description

"search query"

Get result for exact words in quotes.

site:<QDN>

Do search only that domain.

inurl:"query"

show the result where the query in url.

AND OR

Can use logical operator to filter the results.

Contd.

Query Description

intext:"query"

searches only body text (i.e., ignores link text, URLs, and titles).

related:<QDN>

finds pages that are related to the specified page.

cache:

Will index last snapshot even the site is unavailable.

Downsides

How to prevent from Dorking?

  • Use robots.txt file. Which may present in / folder of the websites.
  • It can manage crawl traffic. Its a .gitignore file for search engines(a.k.a Web Crawlers).
  • Also to prevent admin panel, secrets, and multimedia files from appearing in Google search results.

robots.txt

        User-Agent: *
        Disallow: /search
        Disallow: /search*
        Disallow: /wp-admin/*
        Sitemap: https://site.com/static/files/sitemap.xml

Disclaimer

USE IT WISELY & RESPONSIBILY.

figures/thank-you.jpg